home *** CD-ROM | disk | FTP | other *** search
/ GFX Sensations 1 / Graphic Sensations - Volume 1.iso / tools / amiga / 3d_tools / rend10.lzh / REND1.0 / Include / displaymap.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-02-08  |  934 b   |  35 lines

  1. #ifndef DISPLAYMAP_H
  2. #define DISPLAYMAP_H
  3.  
  4. #include "matrix.h"
  5.  
  6.   /* Displaymap constants. */
  7.  
  8. #define MAXROOTOBJECTS 100
  9.  
  10. #define CUROBJECT      0    /* Specify a connection on the same level. */
  11. #define SUBOBJECT      1    /* Subobject connection. */
  12. #define NONE           0    /* No matrix is specified for this block. */
  13. #define SET            1    /* Set the local matrix to the one specified. */
  14. #define APPEND         2    /* Append the specified matrix to the local one. */
  15.  
  16.   /* Displaymap structures. */
  17.   
  18. struct Action {
  19.    UBYTE transtype,changed;
  20.    MATRIX lm;
  21.    MATRIX cmtm;
  22.    MATRIX transmatrix;
  23.    ULONG model,object;
  24.    struct Action *previous,*subobject,*next;
  25. };      
  26.  
  27. void cleardisplaymap(void);
  28. struct Action *createrootaction(MATRIX,ULONG);
  29. struct Action *createaction(struct Action *,MATRIX,UBYTE,ULONG,UBYTE);
  30. void removeroot(struct Action *);
  31. void removeaction(struct Action *);
  32. void traversedisplaymap(void);
  33.  
  34. #endif
  35.